<!DOCTYPE>
<html>
<head>
	<meta charset="UTF-8">
    <title>登录</title>
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <link rel="stylesheet" href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">
	<script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
	<script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
	<link rel="stylesheet" href="/company2/public/static/assets/css/style.css">
	<link rel="stylesheet" href="/company2/public/static/assets/css/footer.css" />
</head>
<!--<style>
    dl{
        text-align:center;
        border:2px solid #00CC99;
        max-width: 300px;
        margin: 0 auto;
    }
</style>-->
<body>
	
	<nav class="navbar-inverse navbar-default" role="navigation">
		<div class="container-fluid"> 
		<div class="navbar-header">
			<button type="button" class="navbar-toggle" data-toggle="collapse"
					data-target="#example-navbar-collapse">
				<span class="sr-only">切换导航</span>
				<span class="icon-bar"></span>
				<span class="icon-bar"></span>
				<span class="icon-bar"></span>
			</button>
			<a class="navbar-brand" href="/company2/public/index/index/index">COMPANY</a>
		</div>
		
	
		<div class="collapse navbar-collapse" id="example-navbar-collapse">
			<ul class="nav navbar-nav">
				<li class="active"><a href="/company2/public/index/index/index">主页</a></li>
				<li><a href="/company2/public/index/shige">诗歌</a></li>
				<li><a href="/company2/public/index/write/message">留言板</a></li>
			</ul>
			<ul class="nav navbar-nav navbar-right"> 
		        {if condition="$Think.session.username != null"}
				<li><a href="#"><span class="glyphicon glyphicon-user"></span> {$Think.session.username}</a></li> 
				<li><a href="/company2/public/index/write/logout"><span class="glyphicon glyphicon-log-in"></span> 退出</a></li> 
		    	{else/}
		        <li><a href="/company2/public/index/regist"><span class="glyphicon glyphicon-user"></span> 注册</a></li> 
		        <li><a href="/company2/public/index/login"><span class="glyphicon glyphicon-log-in"></span> 登录</a></li> 
		    	{/if}
			</ul> 
		</div>
		</div>
	</nav>
     <div class="page-container">
        <h1>登录</h1>
		<form action="/company2/public/index/login/login" method="post">
		    <input type="text" name="name" class="username" placeholder="用户名">
		    <input type="password" name="password" class="password" placeholder="密码"></p>
		     <button class="submit" type="submit">提交</button>
			<div class="error"><span>+</span></div>

		</form>
	</div>
	<footer class="navbar-bottom">
		<p>(c) Copyright 2017 PHP第一小组. All Rights Reserved. </p>
	</footer>
    <script src="static/assets/js/supersized.3.2.7.min.js"></script>
    <script src="static/assets/js/scripts.js"></script>
	<script>
		if($(window).height()==$(document).height()){
	        $(".navbar-bottom").addClass("navbar-fixed-bottom");
	      }
	      else{
	        $(".navbar-bottom").removeClass(" navbar-fixed-bottom");
	      }
	</script>
</div>
</body>
</html>